-- card: 2362 from stack: in.5 -- bmap block id: 0 -- flags: 0000 -- background id: 5683 -- name: selectedChunk -- part contents for background part 7 ----- text ----- selectedChunk -- part contents for background part 9 ----- text ----- Nouvelles fonctions HyperTalk Carte 7 sur 10 -- part contents for background part 8 ----- text ----- the selectedChunk -- part contents for background part 10 ----- text ----- aucun -- part contents for background part 11 ----- text ----- Cette fonction renvoie la description, sous forme de sous-chaîne, des caractères sélectionnés. Si rien n'est sélectionné, la fonction renvoie une chaîne vide. -- part contents for background part 31 ----- text ----- Select selectedField selectedLine selectedText -- part contents for background part 17 ----- text ----- --après exécution des commandes suivantes : select line 1 of field "nom" put the selectedChunk --vous obtiendrez un résultat du type : char 1 to 10 of bkgnd field 10 -- part contents for background part 18 ----- text ----- on selectedChunkDemo --affiche la sous-chaîne sélectionnée cleanEnter -- dans le script du fond courant select text of field "section" put the selectedChunk wait 4 seconds cleanExit -- dans le script du fond courant end selectedChunkDemo